<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>分期购申请列表</title>
<link href="${base}/resource/admin/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/resource/admin/js/jquery.js"></script>
<script type="text/javascript" src="${base}/resource/admin/js/common.js"></script>
<script type="text/javascript" src="${base}/resource/admin/js/list.js"></script>
<script type="text/javascript" src="${base}/resource/admin/datePicker/WdatePicker.js"></script>
<script type="text/javascript">
$().ready(function() {
	[@flash_message /]
});
</script>
</head>
<body>
    <!-- 地址导航-->
	<div class="path">
		<a href="${base}/admin/common/index.do">首页</a> &raquo;分期购申请列表<span>${page.total}</span>
	</div>
    <!-- 主体-->
	<form id="listForm" action="list.do" method="get">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        院校：
                        <select name="eq_long_universityId" class="text" id="customerSel">
                            <option value="">所有</option>
                        [#list universityList as university]
                            <option value="${university.id}" [#if university.id==eq_long_universityId] selected="selected" [/#if]>${university.name}</option>
                        [/#list]
                        </select>
                    </td>
                    <td>
                        手机号：<input type="text" name="like_mobile" class="text" value="${like_mobile}" />
                    </td>
                    <td>
                        <button type="submit">检索</button>
                    </td>
                </tr>
            </table>
        </div>
		<div class="bar">
			<div class="buttonWrap">
				<a href="javascript:;" id="deleteButton" class="iconButton disabled">
					<span class="deleteIcon">&nbsp;</span>删除
				</a>
				<a href="javascript:;" id="refreshButton" class="iconButton">
					<span class="refreshIcon">&nbsp;</span>刷新
				</a>
				<div class="menuWrap">
					<a href="javascript:;" id="pageSizeSelect" class="button">
					    每页条数<span class="arrow">&nbsp;</span>
					</a>
                    <div class="popupMenu">
                        <ul id="pageSizeOption">
                            <li>
                                <a href="javascript:;"[#if page.numPerPage == 10] class="current"[/#if] val="10">10</a>
                            </li>
                            <li>
                                <a href="javascript:;"[#if page.numPerPage == 20] class="current"[/#if] val="20">20</a>
                            </li>
                            <li>
                                <a href="javascript:;"[#if page.numPerPage == 50] class="current"[/#if] val="50">50</a>
                            </li>
                            <li>
                                <a href="javascript:;"[#if page.numPerPage == 100] class="current"[/#if] val="100">100</a>
                            </li>
                        </ul>
                    </div>
				</div>
			</div>
		</div>
		<table id="listTable" class="list">
			<tr>
				<th class="check">
					<input type="checkbox" id="selectAll" />
				</th>
				<th>
                    <span>申请编号</span>
				</th>
                <th>
                    <span>院校</span>
                </th>
                <th>
                    <span>产品名称</span>
                </th>
                <th>
                    <span>申请金额</span>
                </th>
                <th>
                    <span>联系姓名</span>
                </th>
                <th>
                    <span>联系电话</span>
                </th>
                <th>
                    <span>已读</span>
                </th>
                <th>操作</th>
			</tr>
			[#list page.content as entity]
				<tr>
					<td>
						<input type="checkbox" name="ids" value="${entity.id}" />
					</td>
					<td>
						${entity.sn}
					</td>
                    <td>
                         ${entity.universityName}
                    </td>
                    <td>
                        ${entity.productName}<a href="/fqgProduct/edit?id=${entity.productId}">查看产品</a>
                    </td>
                    <td>
                        ${entity.price}
                    </td>
                    <td>
                        ${entity.name}
                    </td>
                    <td>
                        ${entity.mobile}
                        <a href="/member/edit?id=${entity.memberId}">查看用户</a>
                    </td>
                    <td>
                        ${entity.isRead}
                    </td>
                    <td>
                        <a href="edit?id=${entity.id}">[编辑]</a>
                        <a href="read?id=${entity.id}">[设为已读]</a>
                    </td>
				</tr>
			[/#list]
		</table>
       [@pagination pageNumber = page.pageNumber totalPages = page.totalPages]
             [#include "/common/pagination.ftl"]
       [/@pagination]

	</form>
</body>
</html>